package com.aixx.springcloud.service;

import com.aixx.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @author shkstart
 * @create 2021-01-25 18:46
 */
public interface PaymentService{

    /**
     * 保存
     * @return
     */
    public int create(Payment payment);

    /**
     * 查询
     * @param id
     * @return
     */
    public Payment getPaymentById(@Param("id") Long id);
}
